package com.xly.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.xly.entity.CheckReport;

/** 
* @author Your-Name: Carey
* @version Create-Date：2020年3月17日 下午7:15:17 
* Class Description:
*/
public interface ReportDao {

	//条件查询
	public List<Map<String,Object>> selectCondition(@Param("username")String username,
											@Param("diagnostictype")int diagnostictype,
											@Param("inspectionitems")String inspectionitems,
											@Param("symptom")String symptom,
											@Param("diagnosticresult")String diagnosticresult);
	//根据检查报告id获取详情
	public List<CheckReport> selectById(@Param("id")int id);
	//更新 
	public int updateById(@Param("report")CheckReport report);
	//添加
	public int insertReport(@Param("report")CheckReport report);
}
